package com.md.api.dao;

import com.md.api.entity.ShareRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShareRecordMapper {

    ShareRecord getByShareId(String shareId);
    int plusVisitCount(@Param("shareId") String shareId);

    List<ShareRecord> selectAll();

    int updateByPrimaryKey(ShareRecord record);

    int saveShare(ShareRecord shareRecord);
}